package com.chixing.day03_oop;

public class Student {
    private int stuId;
    private String stuName;

    //默认省略 无参构造函数 constructor
    public Student(){}

    public Student(int stuId, String stuName) {
        this.stuId = stuId;
        this.stuName = stuName;
    }




    public int getStuId() {
        return stuId;
    }

    public void setStuId(int stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }
}
